﻿<%@ Page Language="C#" MasterPageFile="~/AdminZone/AdminMaster.master" AutoEventWireup="true" CodeFile="AdminRegister.aspx.cs" Inherits="AdminZone_AdminRegister" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div id="toolbar-box">
        <div class="m">
            <div class="pagetitle icon-System">
                <h2>
                    Đăng ký Admin</h2>
            </div>
        </div>
    </div>
    <div id="element-box">
        <div class="m">
            <asp:Label ID="lblMsg" runat="server" ForeColor="Red" Font-Bold="true"></asp:Label>
            <table align="center" style="width: 800px">
                <colgroup>
                    <col width="150" align="right" />
                    <col width="500" />
                    <col width="150" align="left" />
                </colgroup>
                <tr>
                    <td colspan="3">
                        <div>
                            <div>
                                <span>Admin Register</span></div>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td align="left" colspan="3" bgcolor="#ffe5e5" height="30">
                        <asp:Label ID="lblError" runat="server" ForeColor="Red" Font-Bold="true"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td colspan="3" style="height: 20px">
                    </td>
                </tr>
                <tr>
                    <td class="title" align="right">
                        Username:
                    </td>
                    <td class="left">
                        <asp:TextBox ID="txtUsername" runat="server" Width="100%"></asp:TextBox>
                    </td>
                    <td>
                        <span style="color: Red;">*</span>
                    </td>
                </tr>
                <tr>
                    <td class="title" align="right">
                        Password:
                    </td>
                    <td class="left">
                        <asp:TextBox ID="txtPassword" runat="server" TextMode="Password" Width="100%"></asp:TextBox>
                    </td>
                    <td>
                        <span style="color: Red;">*</span>
                    </td>
                </tr>
                <tr>
                    <td class="title" align="right">
                        Confirm Password:
                    </td>
                    <td class="left">
                        <asp:TextBox ID="txtConfirmPassword" runat="server" TextMode="Password" Width="100%"></asp:TextBox>
                    </td>
                    <td>
                        <span style="color: Red;">*</span>
                    </td>
                </tr>
                <tr>
                    <td class="title" align="right">
                        Full Name:
                    </td>
                    <td class="left">
                        <asp:TextBox ID="txtFullName" runat="server" Width="100%"></asp:TextBox>
                    </td>
                    <td>
                        <span style="color: Red;">*</span>
                    </td>
                </tr>
                <tr>
                    <td class="title" align="right">
                        Role:
                    </td>
                    <td class="left" align="left">
                        <asp:DropDownList ID="ddlRole" runat="server" Width="155px">
                            <asp:ListItem Text='Select a role' Value="-1"></asp:ListItem>
                            <asp:ListItem Text='Supper Admin' Value="1"></asp:ListItem>
                            <asp:ListItem Text='Normal Admin' Value="2"></asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td>
                        <span style="color: Red;">*</span>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td class="left" align="left">
                        <asp:Button ID="btnRegister" runat="server" Text="Register" 
                            onclick="btnRegister_Click" />
                        <asp:Button ID="btnClear" runat="server" Text="Clear" 
                            onclick="btnClear_Click" />
                        <asp:Button ID="btnBack" runat="server" Text="Back" onclick="btnBack_Click" />
                    </td>
                    <td>
                    </td>
                </tr>
            </table>
            <div class="clr" />
        </div>
    </div>
</asp:Content>

